package Server.dao;

import Server.entity.Users;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UsersDao extends JpaRepository<Users,String> {
    Users findByUsername(String username);
    Users findByUuid(String uuid);
    Users findByMobile(String mobile);
    List<Users> findByNameLike(String name);
}
